package com.kordar.admin.modular.sys.enums;


import com.kordar.admin.enums.EnumCommonFacade;

public enum AdminType implements EnumCommonFacade<Integer> {

    TYPE_NORMAL(0, "普通用户"),
    TYPE_SUPER(9, "超级管理员");

    private Integer code;
    private String name;

    AdminType(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    @Override
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
